<%@ Page Language="vb" AutoEventWireup="false" MasterPageFile="~/TGB.Master" CodeBehind="FrmTipoTalonarioABM.aspx.vb" Inherits="TGB.ABMTipoTalonario" 
    title="Administracion de Tipos de Talonario" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">

    <div id="DIV1" style="width: 100%; height: 22px; text-align: left; background-color: #ccccff;" class="titulo" >
    
        <asp:Label ID="LblTitulo" runat="server" CssClass="titulo" Text="Administracion de Tipos de Talonarios" Font-Underline="False" Height="18px" Width="331px"></asp:Label></div><hr /> 
    <div style="width: 100%; height: 133px; text-align: center; background-color: #efefef; vertical-align: middle;" id="DIV2">
        <br />
    <table class="tabla" style="width: 413px; height: 79px; text-align: center;" >
        <tr>
            <td align="right" style="width: 27%; height: 14px;">
                Letra :</td>
            <td align="left" colspan="3" style="height: 14px; width: 294px;">
                <asp:DropDownList ID="DDLLetra" runat="server" CssClass="campotxt" Width="109px" Font-Bold="True">
                    <asp:ListItem Value="Ninguno">Ninguno...</asp:ListItem>
                    <asp:ListItem Selected="True">A</asp:ListItem>
                    <asp:ListItem>B</asp:ListItem>
                    <asp:ListItem>C</asp:ListItem>
                    <asp:ListItem>X</asp:ListItem>
                    <asp:ListItem>R</asp:ListItem>
                </asp:DropDownList>
            </td>
        </tr>
        <tr>
            <td align="right" style="width: 27%">
                Descripcion :</td>
            <td align="left" colspan="3" style="width: 294px">
                <asp:TextBox ID="TxtDescripcion" runat="server" CssClass="campotxt" Font-Bold="True" MaxLength="50" Width="288px"></asp:TextBox></td>
        </tr>
        <tr>
            <td align="center" colspan="4" style="height: 23px">
                <asp:HiddenField ID="TxtId" runat="server" />
                &nbsp;<asp:LinkButton ID="LnkGuardar" runat="server" Height="12px" Width="48px" CssClass="BotonLink">Guardar</asp:LinkButton> /
                <asp:LinkButton ID="LnkEliminar" runat="server" Height="12px" Width="48px" CssClass="BotonLink">Eliminar</asp:LinkButton> /
                <asp:LinkButton ID="LnkBuscar" runat="server" Width="40px" Height="12px" CssClass="BotonLink">Buscar</asp:LinkButton> /
                <asp:LinkButton ID="LnkCancelar" runat="server" CssClass="BotonLink" Height="8px" Width="56px">Cancelar</asp:LinkButton>
            
            </td>
        </tr>
        
    </table>
        <asp:Label ID="LblError" runat="server" Font-Bold="True" ForeColor="#C00000" CssClass="LabelError"></asp:Label></div>
    <hr />
    <div style="width: 100%; height: 100%; background-color: #efefef">
        <asp:GridView ID="GVTipoTalonario" runat="server" AllowPaging="True" 
            AutoGenerateColumns="False" BackColor="LightGoldenrodYellow" BorderColor="Tan"
            BorderWidth="1px" CellPadding="2" CssClass="tabla" 
            ForeColor="Black" GridLines="None" PageSize="25" Style="width: 100%" Width="812px">
            <PagerSettings PageButtonCount="25" />
            <FooterStyle BackColor="Tan" />
            <Columns>
                <asp:TemplateField ShowHeader="False">
                    <ItemStyle HorizontalAlign="Center" />
                    <ItemTemplate>
                        <asp:LinkButton ID="LnkSeleccionar" runat="server" CausesValidation="False" CommandName="Select"
                            Text="Ver" ></asp:LinkButton>
                        <asp:HiddenField ID="HFIdTipoTalonario" runat="server" Value='<%# bind("IdTipoTalonario") %>' />
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="Letra">
                    <ItemStyle HorizontalAlign="Center" />
                    <ItemTemplate>
                        <asp:Label ID="LblLetra" runat="server" Text='<%# Bind("letra") %>'></asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="Descripcion">
                    <ItemStyle HorizontalAlign="Center" />
                    <ItemTemplate>
                        <asp:Label ID="LblDescripcion" runat="server" Text='<%# Bind("Descripcion") %>'></asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
            </Columns>
            <SelectedRowStyle BackColor="DarkSlateBlue" ForeColor="GhostWhite" />
            <PagerStyle BackColor="Tan" ForeColor="DarkSlateBlue" HorizontalAlign="Center" />
            <HeaderStyle BackColor="Tan" Font-Bold="True" />
            <AlternatingRowStyle BackColor="PaleGoldenrod" />
        </asp:GridView>
    </div>
</asp:Content>
